import { kgjDownLoadHttp as http } from '@/services/http';
/** 代理商列表导出 */
export const colonelListExport = (data = {}) =>
  http({
    url: '/api/export/colonellist',
    data,
    method: 'post'
  });
/** 代理订单列表导出 */
export const agentOrderListExport = (data = {}) =>
  http({
    url: '/api/export/order/list',
    data,
    method: 'post'
  });
/** 考古加代理管理-讲师发放管理列表导出 */
export const lecturerListExport = (data = {}) =>
  http({
    url: '/api/lec/export/leclist',
    data,
    method: 'post'
  });
/** 考古加代理管理-讲师发放管理列表导出2  2024-02-29 怎加绑定时间和权限 */
export const lecturerListExport2 = (data = {}) =>
  http({
    url: '/api/lec/export/search/leclist',
    data,
    method: 'post'
  });
  /** 创意-讲师发放管理列表导出 */
export const lecturerAdListExport = (data = {}) =>
  http({
    url: '/api/ad/lec/export/leclist',
    data,
    method: 'post'
  });
/** 创意-讲师发放管理列表导出2 绑定时间和权限 */
export const lecturerAdListExport2 = (data = {}) =>
  http({
    url: '/api/ad/lec/export/search/leclist',
    data,
    method: 'post'
  });
/**  考古加代理管理-代理结算列表导出 */
export const cashListExport = (data = {}) =>
  http({
    url: '/api/export/cashlist',
    data,
    method: 'post'
  });
/** 讲师发放管理
兑换列表 下载*/
export const lecturerExchangeListExport = (params = {}) =>
  http({
    url: '/api/lec/export/code',
    params,
    method: 'get'
  });
/** 讲师发放管理
兑换码发放*/
export const lecturerGenCodeExport = (data = {}) =>
  http({
    url: '/api/lec/gencode',
    data,
    method: 'post'
  });

/** 考古加 - 销售管理 - 销售订单导出 */
export const exportSalesOrder = (data = {}) =>
  http({
    url: '/api/export/salesorder/list',
    data,
    method: 'post'
  });
/** 考古加 - 销售管理 - 我的线索导出 */
export const exportMySalesClue = (data = {}) =>
  http({
    url: '/api/export/salesclue/list',
    data,
    method: 'post'
  });
/** 考古加 - 销售管理 - 所有线索导出 */
export const exportAllSalesOrder = (data = {}) =>
  http({
    url: '/api/export/salesclue/all/list',
    data,
    method: 'post'
  });
